import request from '@/utils/request'

// 查询营业报表列表
export function listProperty(query) {
  return request({
    url: '/property/property/list',
    method: 'get',
    params: query
  })
}
// 计算营业报表的金额与费用
export function calculate(query) {
  return request({
    url: '/property/calculate/cal/'+query,
    method: 'get',
    // params:query,
  })
}

// 查询营业报表详细
export function getProperty(tCwDealPerDay) {
  return request({
    url: '/property/property/detail',
    method: 'get',
    params: tCwDealPerDay
  })
}
// 修改营业报表
export function updateProperty(data) {
  return request({
    url: '/property/property',
    method: 'put',
    data: data
  })
}
